package id.co.rho.scoring.cid.client.command.impl;

import id.co.rho.scoring.cid.changecontrol.entitychange.EntityChange;
import id.co.rho.scoring.cid.client.command.CommandResult;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: bungrudi
 * Date: 8/9/11
 * Time: 8:55 AM
 */
public class FetchOneChangeTxResult implements CommandResult {
    private Long changeTransactionId;
    private Long proposerUserId;
    private Long proposeDate;
    private List<EntityChange> changes;

    private FetchOneChangeTxResult() {
    }

    public FetchOneChangeTxResult(Long changeTransactionId, Long proposerUserId, Long proposeDate, List<EntityChange> changes) {
        this.changeTransactionId = changeTransactionId;
        this.proposerUserId = proposerUserId;
        this.proposeDate = proposeDate;
        this.changes = changes;
    }

    public Long getChangeTransactionId() {
        return changeTransactionId;
    }

    public List<EntityChange> getChanges() {
        return changes;
    }

    public Long getProposerUserId() {
        return proposerUserId;
    }

    public Long getProposeDate() {
        return proposeDate;
    }
}
